package cn.ithers.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author: zhanghuan
 * @date: 2020/11/6 12:34
 * @description:
 */

@Data
public class LoginUserDTO implements Serializable {
    @NotEmpty
    @ApiModelProperty(value = "账号(用户名或邮箱)", required = true)
    private String account;

    @NotEmpty
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
